package cn.iocoder.yudao.framework.datasource.provider;

import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DataSourceProperty;

import javax.sql.DataSource;
import java.util.Map;

/**
 * TODO
 *
 * @className: DynamicDataSourceProvider
 * @author: tangkh
 * @date: 2023-09-19 16:59
 */
public interface DynamicDataSourceProvider {
    Map<String, DataSource> loadDataSources();

    Map<String, DataSourceProperty> dataSourceProperties();
}